/*
 *  Atom.h
 *  CompoundParser
 *
 *  Created by Ryan Edwards-Crewe on 09-01-10.
 *  Copyright 2010 RECCoder. All rights reserved.
 *
 */

#include <iostream>
#include <string>

using namespace std;

class Atom {

public:
	Atom();
	~Atom();
	
	int setAtomData(char&, FILE*);
	void writeAtomData(int, FILE*);
	
private:
	
	int ATOM_ID;
	int SUBSTRUCTURE_ID;

	float CHARGE;
	
	float X_COORD;
	float Y_COORD;
	float Z_COORD;
	
	char _ATOM[3];
	char ATOM_TYPE[9];
	char SUBSTRUCTURE_NAME[4];

};